package test.appletDemo;


import java.applet.*;  //导入applet包  必须要有的
import java.awt.*;

public class HelloWorldApplet extends Applet  //继承Applet
{
    public void paint(Graphics g) {
        g.drawString("Hello World", 25, 50);
    }

}